package com.st.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 * 课程对象 st_courses
 *
 * @author zhw
 * @date 2024-10-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("st_courses")
public class StCourses implements Serializable
        {
private static final long serialVersionUID = 1L;

    /** 编号 */
        @TableId(value="id",type=IdType.AUTO)
    private Integer id;

    /** 封面图片 */
            @Excel(name = "封面图片")
        @TableField(value = "cover_image_url")
    private String coverImageUrl;

    /** 价格 */
            @Excel(name = "价格")
        @TableField(value = "price")
    private BigDecimal price;

    /** 主讲老师 */
            @Excel(name = "主讲老师")
        @TableField(value = "teacher_id")
    private Integer teacherId;

    /** 学习人数 */
            @Excel(name = "学习人数")
        @TableField(value = "student_count")
    private Integer studentCount;

    /** 章节数 */
            @Excel(name = "章节数")
        @TableField(value = "chapter_count")
    private Integer chapterCount;

    /** 整体介绍 */
        @TableField(value = "description")
    private String description;

    /** 类型 */
            @Excel(name = "类型")
        @TableField(value = "course_type_id")
    private Integer courseTypeId;

    /** 状态 */
            @Excel(name = "状态")
        @TableField(value = "course_status")
    private Integer courseStatus;

    /** 名称 */
            @Excel(name = "名称")
        @TableField(value = "course_name")
    private String courseName;



}
